import { defineStore } from "pinia";
export const useChatMenuIdStore = defineStore("chatMenuId", {
  state: () => ({
    chatMenuId: "",
  }),
  getters: {
    getChatMenuId() {
      return this.chatMenuId;
    },
  },
  actions: {
    setChatMenuId(value) {
      this.chatMenuId = value;
    },
  },
});

export const useAddChatMenuStore = defineStore("addChatMenu", {
  state: () => ({
    isAdd: false,
  }),
  getters: {
    getIsAdd() {
      return this.isAdd;
    },
  },
  actions: {
    setIsAdd(value) {
      this.isAdd = value;
    },
  },
});

export const useStartSeeStore = defineStore("startSee", {
  state: () => ({
    isStart: false,
  }),
  getters: {
    getIsStart() {
      return this.isStart;
    },
  },
  actions: {
    setIsStart(value) {
      this.isStart = value;
    },
  },
});
